{extend name="layout" /}
{block name="page"}
<div class="layui-row layui-col-space15">
    <div class="layui-col-md4">
        <div class="layui-card">
            <div class="layui-card-header">个人信息</div>
            <div class="layui-card-body layui-text">
                <table class="layui-table">
                    <colgroup>
                        <col width="100">
                        <col>
                    </colgroup>
                    <tbody>
                    <tr>
                        <td>当前用户</td>
                        <td>
                            {$Think.session.U.username}
                        </td>
                    </tr>
                    <tr>
                        <td>所属角色</td>
                        <td>
                            {$Think.session.U.role_name}
                        </td>
                    </tr>
                    <tr>
                        <td>安全提示</td>
                        <td>距上次修改密码,已有 <span style="font-size: 18px;color: #FF5722;">{$edit_password_time}</span> 天</td>
                    </tr>
                    <tr>
                        <td>快捷操作</td>
                        <td style="padding-bottom: 0;">
                            <div class="layui-btn-container">
                                <a href="javascript:;" data-id="modifyPwd" url="{:url('index/modify_pwd')}" class="layui-btn layui-btn-radius layui-btn-danger layui-btn-xs openNav"> 修改密码 </a>
                                <a href="javascript:;" data-id="modifyMy" url="{:url('index/modify_my')}" class="layui-btn layui-btn-radius layui-btn-xs openNav"> 个人资料 </a>
                                <a href="{:url('passport/logout')}" class="layui-btn layui-btn-radius layui-btn-normal layui-btn-xs"> 安全退出 </a>
                            </div>
                        </td>
                    </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
{/block}